function [ string ] = datecode()
%DATECODE Returns a prefix code based on today's date.

[y,m,d,h,mi,s] = datevec(now);
string = int2str(y*10000 + m*100 + d);

end

